package com.iotechn.unimall.data.dto.distribution;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.Data;

import java.util.Date;

@Data
public class DistributionDetailExcel {
    @Excel(name = "序号", width = 15d)
    private Long id;

    private Date gmtUpdate;

    private Date gmtCreate;

    private Long distributionId;

    /**
     * 这个字段能不传就不传，这个字段是用来订单解冻的
     */
    @Excel(name = "订单号", width = 15d)
    private String orderNo;

    /**
     * 余额变化差值
     */

    private Integer balanceDelta;
    /**
     * 变动后结算余额
     */

    private Integer balance;

    @Excel(name = "余额变化值", width = 15d)
    private String balanceDeltaExcel;
    @Excel(name = "结算余额", width = 15d)
    private String  balanceExcel;

    private Integer freezeBalanceDelta;



    private Integer freezeBalance;

    /**
     * 变动描述
     */
    @Excel(name = "变动描述", width = 30d)
    private String description;
    /**
     *  代表余额明细表变化的类型 0代表收到佣金的变化 1代表花费抵扣的佣金 2代表会员卡充值，3 代表提现，提现资金流水也要发生变化  4 现金充值
     */
    private Integer type;
    /**
     * 用户
     */
    private Long userId;

}
